body {
    width: 1000px;
    height: 400px;
}

h1 {
    width: 300px;
    font-size: 24px;
    margin: 5px;
}

#list {
    width: 600px;
    height: 400px;
    /* border: red solid 2px; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.tab-item {
    width: 295px;
    height: 24px;
    line-height: 24px;
    /* border: 2px solid black; */
    border-bottom: 2px solid black;
    margin: 3px;
}

.icon-img {
    width: 14px;
    height: 14px;
    padding: 5px;
}

.item-title {
    display: inline-block;
    font-size: 14px;
    width: 240px;
    height: 24px;
    overflow: hidden;
    /* 溢出部分隐藏 */
    text-overflow: ellipsis;
    /* 超出部分使用省略号替代 */
    white-space: nowrap;
    /* 禁止换行 */
}
